package com.miyu.system;

import com.miyu.common.utils.basedao.MiyuRepositoryFactoryBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * 系统应用程序
 *
 * @author longm
 * @date 2022/09/29
 */
@SpringBootApplication(scanBasePackages = {"com.miyu.*"} )
@EnableJpaRepositories(repositoryFactoryBeanClass = MiyuRepositoryFactoryBean.class)
@EnableEurekaClient
public class SystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class, args);
    }

}
